package com.njust.RateMyTray_backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("t_dish")
public class Dish implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("dish_name")
    private String dishName;

    private String description;

    private BigDecimal price;

    @TableField("image_url")
    private String imageUrl;

    @TableField("window_id")
    private Long windowId;

    private Integer popularity;

    @TableField("sort_order")
    private Integer sortOrder;

    @TableField("is_featured")
    private Boolean isFeatured;

    private String status;

    @TableField("created_at")
    private LocalDateTime createdAt;

    @TableField("updated_at")
    private LocalDateTime updatedAt;
} 